//
//  UserDBManager.h
//  Order
//
//  Created by funny on 12-3-22.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "UserDB.h"

@interface UserDBManager : NSObject {
	NSMutableDictionary *users;
	
	NSString *nowUserName;
}

@property (nonatomic, readonly) NSString *nowUserName;

+ (UserDBManager *)sharedUserDBManager;

- (BOOL)loginWithName:(NSString *)newName andKey:(NSString *)newKey;
- (void)signOut;

- (NSInteger)nowUserID;

- (UserJurisdictionType)nowUserJurisdictionType;

@end
